<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<SCRIPT language=javascript>
    function printsetup(){ // 打印页面设置
    wb.execwb(8,1);
    }
    function printpreview(){ // 打印页面预览
   wb.execwb(7,1); 
   }

    function printit(){
    if (confirm('确定打印吗？')) {
    wb.execwb(6,6)
    }
    }
    </SCRIPT>
</head>
<body>
<style media="print">
    .Noprint { DISPLAY: none }
    .PageNext{ PAGE-BREAK-AFTER: always }
</style>
<input  class="ipt"  type=button  name=  button  _print  value="打印"
onclick  ="javascript:window.print();"> 
<div class="Noprint">ssssssssssssssssssssssssssss
</div>
<OBJECT id="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" id="wb" name="wb" width="3"></OBJECT> 
<input  class="ipt"  type=button  name=  button  _print  value="打印" onclick  ="javascript:printit();">
<input  class="ipt"  type=button  name=button  _setup  value="打印页面设置"
onclick  ="javascript:printsetup();"> 
<input  class="ipt"  type=button  name=button_show  value="打印预览"
onclick="javascript:printpreview();">
<input  class="ipt"  type=button  name=  button  _fh  value="关闭" onclick  ="javascript:window.close();">
</body>
</html>